home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / edit / pcwpsfix.zip / READ.ME < prev   
Text File  |  1992-09-17  |  8KB  |  187 lines

  1.                      PC-Write Postscript Fix
  2.  
  3.  
  4. DISCLAIMER.
  5.  
  6.       The materials in this archive are provided as is, without 
  7. any warranty of any sort. Use at your own risk. No form of 
  8. support will be provided.
  9.  
  10.  
  11. CLAIMER.
  12.  
  13.       These files may be freely used for personal, academic or 
  14. other non-commercial purposes. Commercial users must obtain a 
  15. license from me for the use of those parts which have been 
  16. written by me. Contact me for further information. 
  17.  
  18.                 Ian D. Gay
  19.                 Department of Chemistry
  20.                 Simon Fraser University
  21.                 Burnaby, B. C. V5A1S6
  22.                 Canada
  23.                 email: gay@sfu.ca
  24.  
  25.  
  26. EXPLANATION.
  27.  
  28.       PC-Write is a shareware word processor from Quicksoft. Most 
  29. of the time it is a very pleasant word processor, but its support 
  30. for Postscript printers leaves something to be desired. As 
  31. distributed, there are several bugs which prevent correct 
  32. operation on postscript printers, and many features which are 
  33. implemented in a way I consider sub-optimal. The present files 
  34. fix the bugs I know about, and do a few other things the way I 
  35. like them. They have been tested with the recent 'Standard' and 
  36. 'Advanced' versions of PC-W. They may or may not work with 
  37. earlier versions.
  38.  
  39.       Printer support in PC-W is provided by a file named PR.DEF 
  40. which determines what characters are sent to the printer for 
  41. spacing, font changes etc. This file is also read by the PC-W 
  42. editor to determine the widths of letters in the various fonts. 
  43. For Postscript printers, the PR.DEF file causes a series of 
  44. commands beginning with the character # to be sent to the 
  45. printer. A postscript program, called PSDOWN.INI is provided 
  46. which interprets these commands, and produces appropriate printer 
  47. actions. 
  48.  
  49.       The printer setup program from PC-W allows you to pick one 
  50. of several PR.DEF files, depending on which Postscript fonts you 
  51. wish to use. It also allows you to select 'standalone' or
  52. 'networked' mode. What this means is that in the former case, the 
  53. PSDOWN program is made permanently resident in the printer. This 
  54. causes subsequent printing to be faster, but may wreak havoc with 
  55. non-PCW use of the printer. In 'networked' mode, the PSDOWN 
  56. program is prepended to each print file, and is not made 
  57. resident. This is better, if you use the printer for anything 
  58. else, but slower, especially for small jobs.
  59.  
  60.       The present archive contains replacements for PR.DEF and 
  61. PSDOWN.INI, in files named PS.DEF and IDG.INI. These provide 
  62. Times, Helvetica and Symbol font families, in 'networked' mode 
  63. only. The files can easily be edited to provide other font 
  64. families, if desired.
  65.  
  66.  
  67. INSTALLATION.
  68.  
  69.       To use these files, copy them to your PC-Write directory. 
  70. The file PS.DEF must be renamed to PR.DEF in order to use it. If 
  71. you want to preserve your original PR.DEF file, re-name it to 
  72. something else first. The IDG.INI file should not be re-named.
  73.  
  74.       The enclosed IDG.INI file is quite a bit bigger than PC-W's 
  75. PSDOWN.INI. This is because I have included a lot of comments, 
  76. and provided indentation to make program operation clearer. If 
  77. you print a lot over a slow link, you may not like this. You can 
  78. make a stripped-down version, which is a bit smaller than PC-W's, 
  79. by (CAREFULLY) removing all blanks at the start of lines, and all 
  80. comments (everything from a % character to the end of the line).
  81.  
  82.  
  83.  
  84. BUGS FIXED.
  85.  
  86. 1. Underlines: PCW's underlines have a position and thickness 
  87.       that is determined by line spacing rather than type size. 
  88.       If you change line spacing in the middle of a page, the 
  89.       effect on underlines popagates back to the beginning of the 
  90.       page (Yecch!). Micro-space inserted for justification does 
  91.       not underline, leaving ugly gaps. 
  92.       These bugs are fixed. The same bugs exist in PCW's double 
  93.       underline and crossout. These are not supported by the 
  94.       present files (the limited number of font letters can be 
  95.       put to better use) and the bugs are not fixed. 
  96.  
  97. 2. Columns: The multiple-column support provided in the 
  98.       'Advanced' version just doesn't work on postscript 
  99.       printers. This is now fixed. 
  100.  
  101. 3. Margins: You don't get the margin size you expect in landscape 
  102.       orientation. This is fixed. 
  103.  
  104. 4. IBM Graphic characters: The sizes of these did not scale 
  105.       correctly. This is fixed.
  106.  
  107. 5. Scaling fixed width fonts: Changing size for Courier font did 
  108.       not always work right. Fixed, I think.
  109.  
  110.  
  111.  
  112. THINGS DONE MY WAY.
  113.  
  114. 1. Super/sub scripts: PC-W treats these as 'effects', meaning that 
  115.       they are assumed to have the same width as normal characters. 
  116.       Since they are really smaller, this messes up alignment and 
  117.       justification. These files support them as 'typefaces', so 
  118.       the problem does not occur... up to a point. The H and L 
  119.       fonts are defined to be Times width super/sub scripts. These 
  120.       will also provide super/sub scripts for other fonts, but the 
  121.       widths will then be a little off. They will also be a little 
  122.       off if you try bold or italic super/sub scripts. What PC-W 
  123.       needs, but doesn't have, is a feature which says 'the next 
  124.       characters are just like the current font, but a factor of x 
  125.       narrower'. 
  126.  
  127. 2. Bold Italics: PC-W doesn't support these. Present files do, 
  128.       for Times only, using the O font.
  129.  
  130. 3. Symbol font: This is available as font S, including the high 
  131.       characters which map as you would expect, e.g. character 
  132.       182 gets you a partial derivative.
  133.  
  134. 4. IBM Graphic Characters: These have been re-designed with 
  135.       thicker lines and wider spaces. Looks a bit better, in my 
  136.       opinion.
  137.  
  138. 5. Quotes: Postscript printers provide left and right single and 
  139.       double quotes, which are different from each other, as well 
  140.       as single and double primes. PC-W gives a right single 
  141.       quote for ASCII character 39, and left for character 96 
  142.       (accent). The present support does the same, but also gives 
  143.       you an option to select primes, see below. PC-W always 
  144.       gives you double primes for ASCII character 34 (double 
  145.       quote). These files give you alternating left and right 
  146.       double quotes for successive occurrences of character 34, 
  147.       with an option to have double primes instead. There is no 
  148.       way to get consecutive left or right double quotes - I 
  149.       couldn't think of a reason to want them. Sorry if you can; 
  150.       at least you can have primes and be just like the PC-W 
  151.       distribution.
  152.  
  153. 6. Line spacings: A wider variety is provided, selectable in 
  154.       points, e.g. you can now have 12 point type on 13 point 
  155.       spacing, if you like it, which I do. 
  156.  
  157. 7. Ghostscript: A postscript file produced by the PC-W 
  158.       distribution bombs on the 640k versions of Ghostscript, by 
  159.       running out of virtual memory. (I haven't tested the recent 
  160.       '386 extended memory versions of GS. Presumably these will 
  161.       work, if enough memory is available). A large part of the 
  162.       problem is that PC-W distribution re-encodes all possible 
  163.       fonts at startup time. I have re-written the font-handling 
  164.       stuff to only re-encode fonts that will be used. This has 
  165.       the effect that documents that don't use too many fonts can 
  166.       now be viewed by all versions of Ghostscript.
  167.  
  168. 8. Postscript commands. PC-W defines the symbol string 
  169.       #G COMMAND. as causing the execution of the postscript 
  170.       procedure whose name is COMMAND. This is used with a .TT 
  171.       line to insert the control string into the output file. 
  172.       Thus
  173.       (AltG).TT"#G landscape."  (note the space and period)
  174.       will put the printer into landscape mode, and
  175.       (ALtG).TT"#G portrait." will return to portrait
  176.  
  177.       IDG.INI defines 4 new procedures to handle quotes and 
  178.       primes. p2 causes character 34 to produce double primes, 
  179.       instead of matched double quotes, q2 switches back to 
  180.       quotes. e.g.
  181.       (AltG).TT"#G p2."
  182.